package utils 
{
	/**
	 * ...
	 * @author carlor
	 */
	public class clientConst 
	{
		
		/*
		 * 地图
		 */
		static public const TILEWIDHT : uint = 300;  //拼接地图图片大小
		static public const TILEHEIGHT: uint = 300;
		static public const CELLWIDTH : uint = 50;   //地图格子宽
		static public const CELLHEIGHT: uint = 50;   //地图格子高
		
		static public const MINIMAPWIDTH : uint = 100;
		static public const MINIMAPHEIGHT: uint = 100;
		
		static public const MAPCELL_PINGYUAN: int = 1;
		static public const MAPCELL_SHULIN	: int = 2;
		static public const MAPCELL_SHANDI	: int = 3;
		static public const MAPCELL_CHENGCHI: int = 4;
		static public const MAPCELL_SHUIYU	: int = 5;
		
		static public const MAPCELL_NOMOVE  : int = 50;
		
		static public const MAPCELLTYPENAME : Object = {"1": "平原", "2": "树林", "3": "山地", "4": "城池", "5": "水域", "50": "不可进入"}; 
		static public const MAPCELLCOLOR    : Object = { "1": { color: 0xffffff, alpha: 0, dragalpha: 0.5},
												  "2": { color: 0x00ff00, alpha: 0.5 },
												  "3": { color: 0x55451f, alpha: 0.6 },
												  "4": { color: 0xa3a097, alpha: 0.6 },
												  "5": { color: 0x90f9ff, alpha: 0.5 },
												  "50": { color: 0xff0000, alpha: 0.5 }
												  };
												  
		/*
		 * 游戏内容
		 */
		// 职业种类
		static public const JOB_BUBING  : int = 1;
		static public const JOB_FANGSHI : int = 2;
		static public const JOB_GONGSHOU: int = 3;
		static public const JOB_QIBING  : int = 4;
		static public const JOB_SHUSHI  : int = 5;
		static public const JOB_YEMANREN: int = 6;
		
		static public const JOBNAMES: Array = ["步兵", "方士", "弓手", "骑兵", "术士", "野蛮人"];
		
		//性别
		static public const SEX_MAN  : int = 1;
		static public const SEX_WOMAN: int = 2;
		
		//地形对兵种的影响
		static public const MAPCELL_MOVE: Array = [[1, 1, 1, 1, 1, 1],//平原对"步兵", "方士", "弓手", "起兵", "术士", "野蛮人"的影响
												   [1, 1, 1, 1, 1, 1],//树林
												   [0.5, 0.5, 0.5, 0.5, 0.5, 0.5],//山地
												   [1, 1, 1, 1, 1, 1],//城池
												   [1, 1, 1, 1, 1, 1]]//水域
												   
		//战斗模式
		static public const BATTLETYPE: Array = ["个人", "组队"];
		static public const BATTLETYPE_PERSONAL: int = 1;
		static public const BATTLETYPE_PARTY   : int = 2;
												   
												
		//战斗目标
		static public const BATTLETARGET_KILLALL: int = 1;
												  
		public function clientConst() 
		{
			
		}
	}

}